<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>停车场设置</title>
		<link rel="stylesheet" type="text/css" href="../../jquery-easyui-1.5.2/themes/default/easyui.css">
		<link rel="stylesheet" type="text/css" href="../../jquery-easyui-1.5.2/themes/icon.css">
		<link rel="stylesheet" type="text/css" href="../../jquery-easyui-1.5.2/demo.css">
		<link rel="stylesheet" type="text/css" href="../../style/syExtIcon.css">

		<script type="text/javascript" src="../../jquery-easyui-1.5.2/jquery.min.js"></script>
		<script type="text/javascript" src="../../jquery-easyui-1.5.2/jquery.easyui.min.js"></script>
		<script type="text/javascript" src="../../js/syExtEasyUI.js"></script>
		<script type="text/javascript" src="../../js/syExtHighcharts.js"></script>
		<script type="text/javascript" src="../../js/syExtJavascript.js"></script>
		<script type="text/javascript" src="../../js/syExtJquery.js"></script>
		<script type="text/javascript" src="../../js/carpark.js"></script>
		<script type="text/javascript" src="carparkManage.js"></script>
	</head>

	<body class="easyui-layout">
		<div data-options="region:'west',split:true" title="停车场列表" style="width: 300px; padding: 10px;">
			<ul id="carparkTree"></ul>
		</div>
		<div data-options="region:'center'" style="overflow: hidden;">
			<table id="grid" data-options="fit:true,border:false"></table>
		</div>
		<div id="toolbar" style="display: none;">
			<table>
				<tr>
					<td>
						<table style="display: inherit;" id="carparkManageTool">
							<tr>
								<td>
									<a href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'ext-icon-note_add',plain:true" onclick="addMainCarpark();">添加主停车场</a>
								</td>
								<td>
									<a href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'ext-icon-note_add',plain:true" onclick="addChildCarpark();">添加子停车场</a>
								</td>
								<td>
									<a href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'ext-icon-note_add',plain:true" onclick="editCarpark();">修改停车场</a>
								</td>
								<td>
									<a href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'ext-icon-note_add',plain:true" onclick="deleteCarpark();">删除停车场</a>
								</td>
								<td>
									<div class="datagrid-btn-separator"></div>
								</td>
								<td>
									<a href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'ext-icon-note_add',plain:true" onclick="addTempCharge();">添加临时收费</a>
								</td>
								<td>
									<a href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'ext-icon-note_add',plain:true" onclick="addFixCharge();">添加固定收费</a>
								</td>
								<td>
									<a href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'ext-icon-note_add',plain:true" onclick="editCharge();">修改收费</a>
								</td>
								<td>
									<a href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'ext-icon-note_add',plain:true" onclick="deleteCharge();">删除收费</a>
								</td>
								<td>
									<a href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'ext-icon-note_add',plain:true" onclick="enableCharge(true);">启用</a>
								</td>
								<td>
									<a href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'ext-icon-note_edit',plain:true" onclick="enableCharge(false);">禁用</a>
								</td>
								<td>
									<div class="datagrid-btn-separator"></div>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</div>
		<!--<div id="addCarparkDialog">
			<form id="addMainCarparkForm" method="post">
				<fieldset>
					<legend></legend>
					<table class="table" style="width: 100%;">
						<tr>
							<th>停车场编码</th>
							<td><input name="code" value="" class="easyui-validatebox" data-options="required:true" /></td>
						</tr>
						<tr>
							<th>停车场名称</th>
							<td><input name="name" value="" class="easyui-validatebox" data-options="required:true" /></td>
						</tr>

						<tr>
							<th>总共车位数</th>
							<td><input name="totalNumberOfSlot" class="easyui-numberbox" value="100" /></td>
						</tr>
						<tr>
							<th>固定车位数</th>
							<td><input name="fixNumberOfSlot" class="easyui-numberbox" value="0" /></td>
						</tr>
						<tr>
							<th></th>
							<td><input type="checkbox" name="tempCarIsIn" value="true" />不允许临时车进入</td>
						</tr>
						<tr>
							<th></th>
							<td><input type="checkbox" name="isCharge" value="true" checked="true" />临时车收费</td>
						</tr>
					</table>
				</fieldset>
			</form>
		</div>-->
	</body>

</html>